package cn.iocoder.yudao.module.member.controller.admin.shunfengcheorder.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@ApiModel("管理后台 - 公众号顺风车订单创建 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ShunfengcheOrderCreateReqVO extends ShunfengcheOrderBaseVO {

    @ApiModelProperty(value = "公众号", required = true, example = "19285")
    @NotNull(message = "公众号不能为空")
    private String appId;

    @ApiModelProperty(value = "出发地址", required = true)
    @NotNull(message = "出发地址不能为空")
    private String startAddress;

    @ApiModelProperty(value = "目的地", required = true)
    @NotNull(message = "目的地不能为空")
    private String endAddress;

    @ApiModelProperty(value = "出发时间", required = true)
    @NotNull(message = "出发时间不能为空")
    private String startTime;

    @ApiModelProperty(value = "乘车人数", required = true)
    @NotNull(message = "乘车人数不能为空")
    private Integer personNum;

    @ApiModelProperty(value = "乘客电话", hidden = true)
    private String personPhone;

    @ApiModelProperty(value = "携带物品", required = true)
    @NotNull(message = "携带物品不能为空")
    private String appendices;

    @ApiModelProperty(value = "0 新建 1已接单", hidden = true)
    private Integer status = 0;

    @ApiModelProperty(value = "订单来源 1. app 2后台", hidden = true)
    private Integer source = 2;


}
